package zilla.useraccounts;

import java.io.File;
import java.net.URL;
import java.util.ArrayList;

public abstract class CloudAccount {
	
	String username;
	String password;
	String access_token;
	boolean authenticated = false;
	public AccountType type = AccountType.NOT_SET;
	
	abstract public void authenticate();
	
	abstract public String putFile(URL url);

	abstract public String putFile(File file);
	
	abstract public byte[] getFileAsBytes();
	
	abstract public String getFileAsString();
	
	abstract public ArrayList<String> do_ls();
	
	abstract public void deleteFile(File file);
	
	abstract public Metadata getMetaData();
	
	
	
	
}
